package com.chexiehui.jc.entity;

import com.chexiehui.jc.widget.indexbar.suspension.ISuspensionInterface;

import java.io.Serializable;

public class SpecialCarSeriesInfo implements ISuspensionInterface, Serializable {

    private String Id;// (string, optional): 车系id ,
    private String Name;// (string, optional): 车系名称 ,
    private int Count;// (integer, optional): 数量

    private String typeName;

    public String getId() {
        return Id == null ? "" : Id;
    }

    public void setId(String id) {
        Id = id;
    }

    public String getName() {
        return Name == null ? "" : Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public int getCount() {
        return Count;
    }

    public void setCount(int count) {
        Count = count;
    }

    public String getTypeName() {
        return typeName == null ? "" : typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    @Override
    public boolean isShowSuspension() {
        return true;
    }

    @Override
    public String getSuspensionTag() {
        return getTypeName();
    }
}
